package com.cn.lf;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * Created by liufeng on 2018/6/15
 */
@SpringCloudApplication
@EnableEurekaClient      // 注册
@EnableFeignClients      //开启feign调用功能
public class FeignApplication {

     public static void main(String args[]) {
         SpringApplication.run(FeignApplication.class,args);
      }

}
